<?php
$form = $this->form;
$this->headTitle('ACL :: Add resource');
?>

<h1>Define resource</h1>

<?= $form->renderForm(false) ?>

<dl class="mz-form">
    <dt>
        <?= $form->resource_id->renderLabel() ?>
    </dt>
    <dd>
        <?= $form->resource_id->renderViewHelper() ?>
        <?= $form->resource_id->renderErrors() ?>
    </dd>

    <dt>
        <?= $form->resource_desc->renderLabel() ?>
    </dt>
    <dd>
        <?= $form->resource_desc->renderViewHelper() ?>
        <?= $form->resource_desc->renderErrors() ?>
    </dd>

    <dt>
        <?= $form->resource_parent->renderLabel() ?>
    </dt>
    <dd>
        <?= $form->resource_parent->renderViewHelper() ?>
    </dd>

    <dd>
        <?= $form->submit->renderViewHelper() ?>
    </dd>
</dl>
<div style="float:right"></div>
<?= '</form>' // totally superfluous, but i hate seeing the red squiggly line in netbeans ?>
